﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EduseKiosk
{
    public partial class WelcomeView : ViewControl
    {
        public WelcomeView()
        {
            InitializeComponent();
        }

        private void WelcomeView_Load(object sender, EventArgs e)
        {
            type = "Mühendislik Seçimi";
            FormEduseKiosk.Instance.TopBar.SearchBarActive = false;
        }

        private void buttonIndustry_Click(object sender, EventArgs e)
        {
            FormEduseKiosk.Instance.SwitchToView(new IndustyView());
        }

        private void WelcomeView_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Up)
                MessageBox.Show("Yay");
        }
    }
}
